package com.example.text.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;


/**
 * 公告表
 *
 * @author hjj
 * @email 1041914134@qq.com
 * @date 2020-06-23 16:02:15
 */
@Data
@TableName(value = "notice")
public class Notice {

    private static final long serialVersionUID = 1L;

    @TableId(value="id",type = IdType.AUTO)
    private  int id;

    @TableField(value= "article_title")
    private String articleTitle;

    @TableField(value= "article_content_html")
    private String articleContentHtml;

    @TableField(value= "article_content_md")
    private  String articleContentMd;

    @TableField(value= "article_abstract")
    private  String  articleAbstract;

    @TableField(value= "article_writer")
    private  String articleWriter;

    @TableField(value= "article_cover")
    private  String articleCover;

    @TableField(value= "article_date")
    private  Date articleDate;

}
